package com.xayy.health.mgt.controller;

import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.util.ObjectUtil;
import cn.kawins.base.result.ResultBody;
import cn.kawins.mybatis.base.BaseController;
import com.xayy.health.core.utils.FileInfosUtils;
import com.xayy.health.core.utils.LocalCache;
import com.xayy.health.mgt.model.HealthAlgorithmManage;
import com.xayy.health.mgt.model.dto.AlgorithmDto;
import com.xayy.health.mgt.model.vo.AlgorithmModelVo;
import com.xayy.health.mgt.service.AlgorithmParamService;
import com.xayy.health.mgt.service.HealthAlgorithmManageService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @author liuyuan
 */
@RestController
@RequestMapping(value = "/predict")
@Api(tags = "预测接口管理")
public class PredictController extends BaseController<HealthAlgorithmManage> {

    /**
     * 预测计算
     * @return ResultBody
     */
    @PostMapping("calculate")
    @ApiOperation(value = "进行预测计算")
    public ResultBody calculate() {
        return ResultBody.success();
    }

    /**
     * 预测结果绘图
     * @return ResultBody
     */
    @PostMapping("result")
    @ApiOperation(value = "预测结果绘图")
    public ResultBody predictResult() {
        return ResultBody.success();
    }

}
